<div class="blog-posts" id="blog-posts">    
    <?php if (is_array($this->posts) && count($this->posts) > 0): ?>
    <ul id="list-posts" class="list-posts">
    <?php foreach ($this->posts as $post): ?>
        <li class="post"><?php echo strlen($post['value']) > $this->maxCharacters ? substr($post['value'],0,$this->maxCharacters).' <a href="'.$post['url'].'">...</a>' : $post['value']; ?></li>
    <?php endforeach; ?>
    </ul>
    <?php endif; ?>
</div>